export default {
  // Page titles
  title: {
    app: 'Skedule - Cross-Platform Task Scheduler',
    tasks: 'Task Management - Skedule',
    logs: 'Execution Logs - Skedule',
    settings: 'Settings - Skedule',
    login: 'Login - Skedule'
  },
  
  // Page description
  meta: {
    description: 'Skedule Cross-Platform Task Scheduler - Modern Task Scheduling Platform'
  },
  
  common: {
    confirm: 'Confirm',
    cancel: 'Cancel',
    save: 'Save',
    delete: 'Delete',
    edit: 'Edit',
    create: 'Create',
    update: 'Update',
    search: 'Search',
    reset: 'Reset',
    submit: 'Submit',
    loading: 'Loading...',
    success: 'Success',
    error: 'Error',
    warning: 'Warning',
    info: 'Info',
    yes: 'Yes',
    no: 'No',
    unknown: 'Unknown',
    refresh: 'Refresh',
    close: 'Close',
    back: 'Back',
    next: 'Next',
    previous: 'Previous',
    all: 'All'
  },
  
  // Login page
  login: {
    title: 'Welcome Back',
    subtitle: 'Please sign in to your account',
    username: 'Username',
    password: 'Password',
    remember: 'Remember me',
    loginButton: 'Sign In',
    loginSuccess: 'Login successful',
    loginFailed: 'Login failed: Invalid username or password',
    usernameRequired: 'Please enter username or keywords',
    passwordRequired: 'Please enter password',
    helpText: 'Contact system administrator for help',
    brand: {
      title: 'Skedule',
      slogan: 'Modern Task Scheduling Platform',
      features: {
        easy: 'Easy-to-use interface design',
        monitor: 'Real-time task execution monitoring',
        secure: 'Secure and reliable permission management'
      }
    }
  },
  
  // Navigation menu
  navigation: {
    tasks: 'Tasks',
    logs: 'Execution Logs',
    settings: 'Settings',
    userMenu: {
      changePassword: 'Change Password',
      logout: 'Logout',
      oldPassword: 'Current Password',
      newPassword: 'New Password',
      confirmPassword: 'Confirm Password',
      oldPasswordPlaceholder: 'Enter current password',
      newPasswordPlaceholder: 'Enter new password',
      confirmPasswordPlaceholder: 'Confirm new password',
      oldPasswordRequired: 'Please enter current password',
      newPasswordRequired: 'Please enter new password',
      confirmPasswordRequired: 'Please confirm new password',
      passwordMinLength: 'Password must be at least 6 characters',
      passwordMismatch: 'Passwords do not match',
      changePasswordSuccess: 'Password changed successfully',
      changePasswordFailed: 'Failed to change password'
    }
  },
  
  // Task list page
  tasks: {
    title: 'Task Management',
    create: 'Create Task',
    columns: {
      name: 'Task Name',
      command: 'Command',
      schedule: 'Schedule',
      status: 'Task Status',
      nextRun: 'Next Run',
      lastRun: 'Last Run',
      createdAt: 'Created At',
      actions: 'Actions'
    },
    status: {
      enabled: 'Enabled',
      disabled: 'Disabled',
      running: 'Running'
    },
    actions: {
      edit: 'Edit',
      delete: 'Delete',
      execute: 'Execute',
      stop: 'Stop',
      pin: 'Pin',
      unpin: 'Unpin',
      toggle: 'Toggle',
      enable: 'Enable',
      disable: 'Disable',
      viewLogs: 'View History',
      viewOutput: 'View Output'
    },
    messages: {
      executeSuccess: 'Task execution started',
      stopSuccess: 'Task execution stopped',
      toggleSuccess: 'Task status updated',
      deleteSuccess: 'Task deleted',
      deleteConfirm: 'Are you sure you want to delete task "{name}"? This action cannot be undone.',
      pinSuccess: 'Task pinned',
      unpinSuccess: 'Task unpinned',
      saveSuccess: 'Task saved successfully',
      createSuccessExecuteFailed: 'Task created successfully, but execution failed'
    },
    form: {
      nameRequired: 'Please enter task name',
      nameMaxLength: 'Task name cannot exceed 50 characters',
      commandRequired: 'Please enter command',
      commandMaxLength: 'Command length cannot exceed 1000 characters',
      commandPlaceholder: 'Enter command to execute',
      repeatType: 'Repeat Type',
      repeatTypeRequired: 'Please select repeat type',
      repeatTypePlaceholder: 'Select repeat type',
      once: 'Execute Once',
      daily: 'Daily',
      weekly: 'Weekly',
      monthly: 'Monthly',
      executeDate: 'Execute Date',
      dateRequired: 'Please set execute date',
      executeTime: 'Execute Time',
      timeRequired: 'Please set execute time',
      repeatDays: 'Repeat Days',
      weekDaysRequired: 'Please select repeat days',
      monday: 'Monday',
      tuesday: 'Tuesday',
      wednesday: 'Wednesday',
      thursday: 'Thursday',
      friday: 'Friday',
      saturday: 'Saturday',
      sunday: 'Sunday',
      monthlyDate: 'Monthly Execute Date',
      monthDayRequired: 'Please select monthly execute date',
      monthlyDatePlaceholder: 'Select date',
      day: '',
      lastDay: 'Last Day',
      description: 'Description',
      descriptionPlaceholder: 'Enter task description (optional)',
      enableSchedule: 'Enable Auto Schedule',
      enableScheduleDesc: 'When enabled, the system will automatically execute this task according to the set time rules',
      executeAfterSave: 'Execute After Save',
      executeAfterSaveDesc: 'Execute once immediately after saving the task, without affecting subsequent automatic scheduling',
      invalidRepeatType: 'Invalid repeat type'
    }
  },
  
  // Execution logs page
  logs: {
    title: 'Execution Logs',
    columns: {
      taskName: 'Task Name',
      startTime: 'Start Time',
      endTime: 'End Time',
      duration: 'Duration',
      status: 'Status',
      actions: 'Actions'
    },
    status: {
      running: 'Running',
      success: 'Success',
      failed: 'Failed',
      stopped: 'Stopped',
      timeout: 'Timeout',
      unknown: 'Unknown'
    },
    actions: {
      viewOutput: 'View Output',
      download: 'Download Log',
      viewResult: 'View Execution Result'
    },
    messages: {
      noOutput: 'Never executed',
      downloadSuccess: 'Log downloaded successfully',
      downloadFailed: 'Failed to download log',
      loadTasksFailed: 'Failed to load task list',
      loadLogsFailed: 'Failed to load logs',
      noResult: 'No output',
      unknownTask: 'Unknown task'
    },
    filter: {
      selectTask: 'Select task',
      selectStatus: 'Execution status'
    },
    detail: {
      title: 'Execution Result Details',
      basicInfo: 'Basic Information',
      outputLog: 'Output Log',
      errorInfo: 'Error Information',
      taskName: 'Task Name',
      status: 'Execution Status',
      startTime: 'Start Time',
      endTime: 'End Time',
      duration: 'Duration',
      exitCode: 'Exit Code'
    },
    modal: {
      title: 'Task Execution Log',
      running: 'Running',
      realtime: 'Real-time',
      executeTime: 'Execution Time',
      duration: 'Duration',
      status: 'Status',
      copyLog: 'Copy Log',
      refresh: 'Refresh',
      noOutput: 'No output',
      copySuccess: 'Log content copied to clipboard',
      copyFailed: 'Copy failed',
      copyWarning: 'No log content to copy',
      loadFailed: 'Failed to load log'
    },
    duration: {
      seconds: 's',
      minutes: 'm',
      hours: 'h',
      ms: 'ms'
    }
  },
  
  // Settings page
  settings: {
    title: 'System Settings',
    saveSuccess: 'Settings saved successfully',
    saveSuccessNotification: 'Notification settings saved',
    saveFailed: 'Failed to save settings',
    saveNotificationFailed: 'Failed to save notification settings',
    loadFailed: 'Failed to load settings',
    tabs: {
      general: 'General Settings',
      notifications: 'Notification Settings',
      about: 'About'
    },
    sections: {
      general: 'General Settings',
      security: 'Security Settings',
      system: 'System Settings'
    },
    fields: {
      systemName: 'System Name',
      serverName: 'Server Name',
      serverDescription: 'Server Description',
      timezone: 'Timezone',
      maxConcurrentTasks: 'Max Concurrent Tasks',
      logRetentionDays: 'Log Retention Days',
      enableEmailNotifications: 'Enable Email Notifications',
      smtpServer: 'SMTP Server',
      smtpPort: 'SMTP Port',
      smtpUsername: 'SMTP Username',
      smtpPassword: 'SMTP Password',
      enableFailureNotification: 'Task Failure Notification',
      emailAddress: 'Email Notification',
      emailPlaceholder: 'Email address for receiving notifications'
    },
    systemInfo: {
      title: 'System Information',
      version: 'Version',
      uptime: 'Uptime',
      activeTasks: 'Active Tasks',
      totalTasks: 'Total Tasks'
    }
  },
  
  // Change password
  changePassword: {
    title: 'Change Password',
    currentPassword: 'Current Password',
    newPassword: 'New Password',
    confirmPassword: 'Confirm New Password',
    currentPasswordRequired: 'Please enter current password',
    newPasswordRequired: 'Please enter new password',
    confirmPasswordRequired: 'Please confirm new password',
    passwordMismatch: 'Passwords do not match',
    changeSuccess: 'Password changed successfully',
    changeFailed: 'Failed to change password'
  },
  
  // Language settings
  language: {
    title: 'Language',
    chinese: '中文',
    english: 'English'
  }
} 